首页> 外文OA文献 >An Analysis of Rule Coverage as a Criterion in Generating\ud Minimal Test Suites for GrammarBased\ud Software
【2h】

An Analysis of Rule Coverage as a Criterion in Generating\ud Minimal Test Suites for GrammarBased\ud Software

机译:规则覆盖率作为生成\ ud中的标准的分析 基于语法的最小测试套件\ ud 软件

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

The term grammar-based software describes software whose\udinput can be specified by a context-free grammar. This\udgrammar may occur explicitly in the software, in the form\udof an input specification to a parser generator, or implicitly,\udin the form of a hand-written parser, or other inputverification\udroutines. Grammar-based software includes not\udonly programming language compilers, but also tools for\udprogram analysis, reverse engineering, software metrics and\uddocumentation generation. Such tools often play a crucial\udrole in automated software development, and ensuring their\udcompleteness and correctness is a vital prerequisite for their\uduse.\udIn this paper we propose a strategy for the construction\udof test suites for grammar based software, and illustrate this\udstrategy using the ISO C++ grammar. We use the concept of\udrule coverage as a pivot for the reduction of implementationbased\udand specification-based test suites, and demonstrate\uda significant decrease in the size of these suites. To demonstrate\udthe validity of the approach, we use the reduced test\udsuite to analyze three grammar-based tools for C++. We\udcompare the effectiveness of the reduced test suite with the\udoriginal suite in terms of code coverage and fault detection.
机译:基于语法的软件一词描述了其\ udinput可以由上下文无关的语法指定的软件。该\ udgrammar可以在软件中以解析器生成器的输入规范的形式\ udud显式地出现,或者以手写解析器或其他输入验证\ udroutine的形式隐式地\ ud出现。基于语法的软件不仅包括\ udding编程语言编译器,还包括用于\ udprogram分析,反向工程,软件指标和\ uddocumentation生成的工具。此类工具通常在自动化软件开发中起着至关重要的作用,确保其“不完全性”和“正确性”是对其“过分使用”的重要先决条件。\ ud本文提出了一种针对基于语法的软件构建\ udof测试套件的策略,以及使用ISO C ++语法说明此\策略。我们将\ udrule coverage的概念作为减少基于实现\ udand规范的测试套件的枢纽,并证明这些套件的大小显着减少。为了证明该方法的有效性,我们使用简化的测试工具来分析三种针对C ++的基于语法的工具。我们在代码覆盖率和故障检测方面比较简化测试套件和原始套件的有效性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号